home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
edit
/
me_cd25.zip
/
DOC.ZIP
/
ME2.DOC
< prev
next >
Wrap
Text File
|
1992-11-09
|
50KB
|
1,084 lines
========================================================================
== ME2 Documentation Craig Durland 8/88 10/91 ==
========================================================================
ME2 is a small, portable, extensible [GNU] Emacs' like editor. This
document describes how individual commands work - it is light on general
usage. If you need to learn Emacs, look at the GNU, Goslings or
Unipress Emacs manuals.
Copyright 1991 Craig Durland
Distributed under the terms of the GNU General Public License.
Distributed "as is", without warranties of any kind, but comments,
suggestions and bug reports are welcome.
========================================================================
== Soft keys and Function keys ==
========================================================================
When describing characters or keys, the character itself is used if it
is printable. Unprintable characters are made printable using 3 or more
printable characters. For example, the letter "A" is printable but
control-A is not and so the code "C-a" is used to describe it. The
table below shows the various codes needed to map the unprintable keys.
Prefix Meaning
------ -------
C- Control key.
F- Function or soft key such as f1, Home, etc.
M- Meta key. See META in the GLOSSARY.
S- Shift. This only applies to function keys.
This is a list of "extended" keys - those not covered by ASCII. ME
maps these keys to 3 or more ASCII codes. Ignore the ME key column
unless you are binding keys. The keyboard column is the key on the
keyboard you press to generate the ME key which (unless rebound) fires
off the function listed in the Bound to column.
Keyboard ME key Bound to
-------- -- --- ----- --
F1 F-1
F2 F-2
F3 F-3
F4 F-4
F5 F-5
F6 F-6
F7 F-7
F8 F-8
F9 F-9
F10 F-0
home F-A (beginning-of-buffer)
end F-B (end-of-buffer)
up arrow F-C (previous-line)
down arrow F-D (next-line)
right arrow F-E (next-character)
left arrow F-F (previous-character)
insert F-G
delete F-H (delete-character)
page up F-I (previous-page)
page down F-J (next-page)
clear line F-K (cut-line)
delete line F-L
insert line F-M
select F-N (set-mark)
roll up F-O (scroll-down)
roll down F-P (scroll-up)
DEL C-? (delete-character) (This is the DELete key)
ESC C-[
shift tab M-I
ALT 0..9A..Z! mapped to META 0..9A..Z!
Use the ALT key like the control key (ie hold it down while you press the
next key).
For the MS-DOS and OS/2 versions of ME2, the grey keys (on the 101
keyboard) are distinguished from the other keys on the keypad, and the
ordinary keys.
Keyboard ME key Bound to
-------- -- --- ----- --
grey-home S-F-A
grey-end S-F-B
grey-up arrow S-F-C
grey-down arrow S-F-D
grey-right arrow S-F-E
grey-left arrow S-F-F
grey-insert S-F-G
grey-delete S-F-H
grey-page up S-F-I
grey-page down S-F-J
grey-- S-F--
grey-+ S-F-+
grey-Enter S-C-F-M ;; (Maybe not on the MS-DOS version)
grey-/ S-F-/
grey-* S-F-*
========================================================================
========================================================================
Case of letters:
Meta keys and Control X commands: next letter is ALWAYS uppercase.
Function keys are case sensitive.
========================================================================
== GLOSSARY ==
========================================================================
C-[ See META
args
Parameters or arguments that will be requested by the command. If
[] surround the arg, then it will only be requested in certain cases.
binding See bound.
bound
A key is attached or bound to a command or program.
If the key is pressed, whatever it is bound to is invoked.
Keys can be bound locally or globally. If a key has a local binding,
pressing the key in the buffer it was bound in causes action. A
global binding covers all buffers. Note that local bindings take
precedence over global ones.
buffer
A buffer is an internal workspace where changes are made to text. If
a buffer is visible, it is shown through one or more windows. It is
usually attached to a file (ie contains the contents of the file).
If the buffer was created by reading in a file, the buffer name is
created by removing the path from the file name (and leaving only
the name and extension).
clear
A operation where something is covered over by something else. Also
reset.
For example:
If text is cleared, it is covered by blanks.
If a mark is cleared, it is reset to an initial state (pointing to
nothing).
See also: cut, delete, clear.
command or cmd
A ME built in command such as (read-file).
These can be bound to a key to make executing them easier.
Documented under COMMANDS (in ME2.DOC). These are different from
functions in that they can be bound to keys or executed by
(ME-command).
Command completion
ME will attempt to complete a command if the space bar is pressed and
completion is on. The only time you can use command completion is
when you are being queried in the minibuffer. For example, when ME
is requesting a buffer name for (use-existing-buffer) and foobar is
a buffer, typing "foo" and hitting space will fill in the rest of
the name. ME also trys to fix typos. If you had typed "fooie" and
hit the space bar, you still get "foobar". Sometimes, you will hit
space and only part of the command name will appear. This is ME's
way of telling you there is some ambiguity as to the full name.
Type some more of the name and hit space again or press ? to get a
list of possible names.
See also: complete in ME2MUTT.DOC.
cut
A operation where something is saved and then removed.
For example: If text is cut, it is saved in the cut buffer and then
deleted. You can retrieve it later from the cut buffer.
See also: cut buffer, delete, clear.
Cut buffer
An invisible buffer that holds things created by deletion commands
such as (cut-region) and (copy-region). Used to cut and paste, or
just cut, text.
If you want to move a block of text about: 1. set the mark at one
end and then move the dot to the other end. 2. cut the region. 3.
move the dot to the start of where you want the text to begin and 4.
yank the cut buffer. Bingo.
Copy and cut append to the cut buffer if last command was also a cut
or copy, otherwise the cut buffer is cleared before the new text is
entered.
The cut buffer is also used by (filter).
Other Emacs' refer to this as the kill buffer.
delete
A operation where something is removed and NOT saved.
For example: If text is deleted, it is gone and can't be recovered
(unless undo can be it back).
See also: cut, clear.
dot
The place between two characters. It is immediately to the left of
the cursor. Also known as point. One per window or buffer.
ESCAPE
See also META.
The escape key (usually marked ESC on keyboards) acts like the META key
for those keyboards that don't have a META key.
file
For MS-DOS, you can use forward slashes "/" as part of the path name.
function or fcn
The commands that comprise the Mutt programming language. Documented
in MUTT2.DOC and ME2MUTT.DOC. These differ from commands in that
they cannot be bound to keys and cannot be executed by (ME-command).
help
Help is pretty much limited to reading manuals or asking gurus.
Limited forms of online help are command completion (see above),
typing a ? when being asked a question (see "If you are being
asked a question" below), command completion and (describe-bindings).
keys
Keys are used to enter text and invoke commands. The keys used to